package com.edu.hre.struts.form.admin;

import java.util.Date;

import org.apache.struts.action.ActionForm;

public class StructureUpdateForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5638037007870064238L;
	private Integer id;
	private Integer parentId;
	private String name;
	private String description;
	private int level; 
	private String message = "";
	private boolean isAddNew = true;

	public StructureUpdateForm() {
	}

	public StructureUpdateForm(String name) {
		this.name = name;
	}

	public StructureUpdateForm(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getLevel() {
		return this.level;
	}

	public void setLevel(int level) {
		this.level = level;
	}
 

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public boolean getIsAddNew() {
		return isAddNew;
	}

	public void setIsAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}
 
}
